//package com.rp.api.admin;
//
//import com.rp.bo.AdminLoginBO;
//import com.rp.bo.NewAdminBO;
//import com.rp.news.common.PagedResult;
//import com.rp.news.common.Result;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//
//@Api(value = "管理员admin相关接口", tags = {"管理员admin相关接口 api文档"})
//@RequestMapping("/adminMng")
//public interface AdminMngControllerApi {
//
//
//    @ApiOperation(value = "管理员登录接口", notes = "管理员登录接口", httpMethod = "POST")
//    @PostMapping("/adminLogin")
//    Result adminLogin(@RequestBody AdminLoginBO adminLoginBO, HttpServletRequest request, HttpServletResponse response);
//
//
//    @ApiOperation(value = "查询admin用户是否存在", notes = "查询admin用户是否存在", httpMethod = "POST")
//    @PostMapping("/adminIsExist")
//    Result adminIsExist(@RequestParam String username);
//
//
//
//    @ApiOperation(value = "创建admin用户", notes = "创建admin用户", httpMethod = "POST")
//    @PostMapping("/addNewAdmin")
//    Result addNewAdmin(@RequestBody NewAdminBO newAdminBO, HttpServletRequest request, HttpServletResponse response);
//
//    @ApiOperation(value = "查询admin用户列表", notes = "查询admin用户列表", httpMethod = "POST")
//    @PostMapping("/getAdminList")
//    PagedResult getAdminList(@ApiParam(name = "page",value = "第几页",required = false) @RequestParam Integer page,
//                             @ApiParam(name = "pageSize",value = "每页记录数",required = false) @RequestParam  Integer pageSize);
//
//
//    @ApiOperation(value = "admin用户退出登录", notes = "admin用户退出登录", httpMethod = "POST")
//    @PostMapping("/adminLogout")
//    Result adminLogout(@RequestBody String adminId, HttpServletRequest request, HttpServletResponse response);
//
//
//
//    @ApiOperation(value = "admin管理员人脸登录", notes = "admin管理员人脸登录", httpMethod = "POST")
//    @PostMapping("/adminFaceLogout")
//    Result adminFaceLogout(@RequestBody AdminLoginBO adminLoginBO, HttpServletRequest request, HttpServletResponse response);
//
//
//
//}
